package ooday01;

public class CatTest {
    public static void main(String[] args) {
        Car car1 = new Car();
        car1.brand="宝马";
        car1.color="黑";
        car1.price=85555;
        car1.capacity=5;
        car1.start();
        car1.run();
        car1.stop();

        Car car2 = new Car();
        car2.brand="比亚迪";
        car2.color="白";
        car2.price=12000;
        car2.capacity=5;
        car2.start();
        car2.run();
        car2.stop();

        Car car3 = new Car();
        car3.start();
        car3.run();
        car3.stop();
    }
}
